import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'amfe-flexible'
import Vant from 'vant'
import 'vant/lib/index.css'
import 'normalize.css'
import '@/style/iconfont/iconfont.css'
import '@/style/comm.css'
import '@/api/request.js'
import comm from '@/utils/comm.js'
Vue.config.productionTip = false
// 公用组件全局注册 组件名 导入的组件
// Vue.component('titleNavBar', titleNavBar)
// 注册公共组件
Vue.use(comm)
// 注册
Vue.use(Vant)
new Vue({
  // 实例化路由
  router,
  store,
  render: h => h(App)
}).$mount('#app')
